package com.demo.scenic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 *
 * @author user
 * @date 2023/04/22 21:30:48
 */
@ApiModel(value="景区宣传图")
@Data
public class ScenicPhoto {
    /**
     * 
     */
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 景区id
     */
    @ApiModelProperty(value="scenicId景区id",required = true)
    private Integer scenicId;

    /**
     * 图片存储路径
     */
    @ApiModelProperty(value="photoUrl图片存储路径",required = true)
    private String photoUrl;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="createdTime创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 
     */
    @ApiModelProperty(value="updatedTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
}